/*
 * keejoo_shared.c
 *
 * Copyright (C) 2011 - Kellerman Rivero
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
#ifndef KEEJOO_SHARED_H
#define KEEJOO_SHARED_H
/*Data about app*/
#define APP_NAME "Keejoo a GTK3 Twitter Client"
#define CONSUMER_KEY "nohB8O9tbhTtqXZKE8JUZQ"
#define CONSUMER_SECRET "vVrpqoi1VlwOD773eY00A8m3Gi5sM7KGc98G6YpmSs8"	 	

/*Const URLs*/

#define REQUEST_TOKEN_URL "https://api.twitter.com/oauth/request_token"
#define ACCESS_TOKEN_URL "https://api.twitter.com/oauth/access_token"
#define AUTHORIZE_URL "https://api.twitter.com/oauth/authorize"
#define UPDATE_STATUS_URL "http://api.twitter.com/1/statuses/update.xml"
#define UPDATE_STATUS_URL_TEST "http://api.twitter.com/1/statuses/update.xml?status=Testing Keejoo"
/* Debug data */

#define DEBUG_MODE 1

void debug_print(char *module, char* function, char *var,char* msg);

void debug_print_int(char *module, char* function, char *var,int msg);


/*Length Const*/

#define MAX_URL_LENGTH 2000 //iexplore url max convention
#define MAX_FILENAME_LENGTH 255 //ext3 max filename length
#define MAX_USERNAME_LENGTH 15 /*http://tensaiweb.info/blog/encontrar-y-elegir-nombres-de-usuario-disponibles-para-twitter/*/


/*Other Const*/

#define CREDENTIAL_PREFIX "acctok_"
#define CACHE_PREFIX "cache_"

#endif
